package com.star.blog.service;

import com.star.blog.common.Result;
import com.star.blog.pojo.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.star.blog.vo.CategoryVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 聂建强
 * @since 2021-11-22
 */
public interface CategoryService extends IService<Category> {

    CategoryVo findCategoryById(Integer categoryId);

    /**
     * 查询所有分类
     * @return
     */
    Result findAll();

    Result findAllDetail();

    Result categoryDetailById(Long id);
}
